package com.sright.bcard.content.biz.service;

import com.sright.bcard.content.biz.manager.FavoriteCardManager;
import com.sright.bcard.content.share.service.FavoriteCardService;
import com.sright.common.response.SrightResponse;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class FavoriteCardServiceImpl implements FavoriteCardService {

    @Autowired
    private FavoriteCardManager favoriteCardManager;

    @Override
    public SrightResponse cardHolder(Integer page, String keywords, Long memberId) {
        return favoriteCardManager.getFavoriteCard(page,keywords,memberId);
    }
}
